﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Insifo.BE.Seg;
using Insifo.BE;
using Insifo.BL.Seg;

//[ServiceBehavior(InstanceContextMode= InstanceContextMode.Single,
//    ConcurrencyMode = ConcurrencyMode.Multiple)]

public class WCConcepto : IWCConcepto
   
{
    BLConcepto _bl = new BLConcepto();
      
    /// <summary>
    /// Método obtiene la lista
    /// </summary>
    /// <returns>Devuelve un DataSet</returns>
    public List<BEConcepto> Listar(BEConcepto pbe)
    {
        return _bl.Listar(pbe);
    }
    public BEConcepto Obtener(BEConcepto pbe)
    {
        return _bl.Obtener(pbe);
    }

    public BEConcepto Insertar(BEConcepto pbe)
    {
        return _bl.Insertar(pbe);
    }

    public BEConcepto Actualizar(BEConcepto pbe)
    {
        return _bl.Actualizar(pbe);
    }

    public BEConcepto Eliminar(BEConcepto pbe)
    {
        return _bl.Eliminar(pbe);
    }


    public DataSet ListarPorAsignacion(BEGrupo pbe)
    {
        return _bl.ListarPorAsignacion(pbe);
    }
}
